cmake_minimum_required(VERSION 3.13.1)

get_filename_component(APPLICATION_DIR $ENV{ZEPHYR_BASE} DIRECTORY)

#set(KCONFIG_ROOT ${APPLICATION_DIR}/../zephyr_modules/Kconfig)

set(BOARD_ROOT ${CMAKE_CURRENT_LIST_DIR})
#set(OPENOCD_NRF5_SUBFAMILY ON)

# Standard Zephyr application boilerplate.
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(thingy52)

#add_subdirectory(${APPLICATION_DIR}/../zephyr_modules zephyr_modules)

zephyr_include_directories(src)

target_sources(app PRIVATE src/main.c)

